-
Home
-
Phrase TMS Integration for WordPress
-
3.2.2
-
Code
-
Classes
- ContentController
Total Complexity |
44 |
Dependencies |
15 |
Dependents |
1 |
Total lines |
407 |
Lines of code |
204 |
Logical lines of code |
103 |
Comment lines |
102 |
Methods |
21 |
Properties |
5 |
Methods 21
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
processRequest() |
S |
53 |
7 |
21 |
getTypes() |
S |
61 |
3 |
13 |
getItems() |
S |
62 |
3 |
11 |
registerRestRoutes() |
S |
50 |
1 |
35 |
saveTranslation() |
S |
63 |
3 |
9 |
getItem() |
S |
62 |
3 |
10 |
getInitArgs() |
S |
61 |
2 |
14 |
logRequest() |
S |
62 |
2 |
11 |
logError() |
S |
63 |
2 |
11 |
storeLastProcessedId() |
S |
62 |
2 |
11 |
logResponse() |
S |
72 |
2 |
5 |
checkContentType() |
S |
64 |
2 |
10 |
getContentService() |
S |
69 |
2 |
6 |
addContentService() |
S |
67 |
2 |
7 |
addContentServices() |
S |
74 |
2 |
5 |
checkAuth() |
S |
75 |
1 |
4 |
getContentServices() |
S |
82 |
1 |
3 |
getNamespace() |
S |
81 |
1 |
3 |
createResponseData() |
S |
75 |
1 |
5 |
createWPError() |
S |
77 |
1 |
3 |
__construct() |
S |
69 |
1 |
7 |